package com.wangzifan.service;

import com.wangzifan.entity.Grade;
import com.wangzifan.entity.PageBean;

import java.time.LocalDate;
import java.util.List;

public interface GradeService {
//    Grade queryGradeByTno(String tno);

    void deleteGrade(List<Integer> ids);

    void addGrade(Grade grade);

    void updateGrade(Grade grade);

    Grade queryGradeById(Integer id);

    PageBean page(Integer page, Integer pageSize, String sno, String cno);

    PageBean pageByTeacher(Integer page, Integer pageSize, String tno, String cno);
}
